import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex);

export default new Vuex.Store({
    state: {
        loadingShow:false
    },
    mutations: {
        changeLoadingState(state,param){
            state.loadingShow = param
        }
    },
    actions: {
        changeLoadingState(context,param){
            context.commit('changeLoadingState',param)
        }
    }
})
